﻿@using Zavand.Web.Mvc.Manana.SampleWebsite.Controllers.My
@using Zavand.Web.Mvc.Manana.Framework
@model ILayout<Zavand.Web.Mvc.Manana.SampleWebsite.Common.SampleWebsiteRoute>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>My MVC Application</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <nav>
                <ul id="menu">
                    <li>@Html.ActionLink( "Home", Model.GetRoute(), new Zavand.Web.Mvc.Manana.SampleWebsite.Controllers.IndexRoute())</li>
                    <li>|</li>
                    <li>@Html.ActionLink( "My - Index", Model.GetRoute(), new Zavand.Web.Mvc.Manana.SampleWebsite.Controllers.My.Actions.Index.Route())</li>
                    <li>@Html.ActionLink( "My - Post", Model.GetRoute(), new Zavand.Web.Mvc.Manana.SampleWebsite.Controllers.My.Actions.Post.Route())</li>
                </ul>
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
<div>
                    |
                    @(Html.ActionLinkClone("en-US", Model.GetRoute(), m => { m.Locale = "en-US"; })) |
                    @(Html.ActionLinkClone("es-ES", Model.GetRoute(), m => { m.Locale = "es-ES"; })) |
                    @(Html.ActionLinkClone("de-DE", Model.GetRoute(), m => { m.Locale = "de-DE"; })) |
                    @(Html.ActionLinkClone("fr-FR", Model.GetRoute(), m => { m.Locale = "fr-FR"; })) |
                    @(Html.ActionLinkClone("ru-RU", Model.GetRoute(), m => { m.Locale = "ru-RU"; })) |
</div>
        </footer>
    </div>
</body>
</html>
